var surpportOfficeFile=["doc","docx","xls","xlsx","ppt","pptx",'txt'];
var surpportOtherFile=["pdf","bmp","gif","ief","jpeg","jpg","png","tiff","tif"];
var imgFile=["bmp","gif","ief","jpeg","jpg","png","tiff","tif"];

function isOfficeFile(fType){
	var re=$.inArray(fType, surpportOfficeFile);
	return re==-1?false:true;
}

function isFileCanDirectShow(fType){
	var re=$.inArray(fType, surpportOtherFile);
	return re==-1?false:true;
}

function isImage(fType){
	var re=$.inArray(fType, imgFile);
	return re==-1?false:true;
}